package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 火化炉面分组关联表Entity
 * 
 * @author generator
 * @date 2020-08-23 18:11
 */
@MyTable(value = "CremationFurnaceGroupEntity", name = "cremation_furnace_group", comment = "火化炉面分组关联表")
public class CremationFurnaceGroupEntity extends BaseEntity {
    /**
     * 分组编号
     */
    @MyColumn(value = "groupCode", name = "group_code", comment = "分组编号")
    private String groupCode;

    /**
     * 分组名称
     */
    @MyColumn(value = "groupName", name = "group_name", comment = "分组名称", required = true)
    private String groupName;

    /**
     * 正面炕面外键
     */
    @MyColumn(value = "furnaceFrontId", name = "furnace_front_id", comment = "正面炕面外键")
    private Integer furnaceFrontId;

    /**
     * 反面炕面外键
     */
    @MyColumn(value = "furnaceBackId", name = "furnace_back_id", comment = "反面炕面外键")
    private Integer furnaceBackId;

    /**
     * 总添加油表数
     */
    @MyColumn(value = "totalNumber", name = "total_number", comment = "总添加油表数", required = true)
    private BigDecimal totalNumber;

    /**
     * 当前油表数
     */
    @MyColumn(value = "leftNumber", name = "left_number", comment = "当前油表数", required = true)
    private BigDecimal leftNumber;


    public String getGroupCode() {
        return groupCode;
    }

    public CremationFurnaceGroupEntity setGroupCode(String groupCode) {
        this.groupCode = groupCode;
        return this;
    }

    public String getGroupName() {
        return groupName;
    }

    public CremationFurnaceGroupEntity setGroupName(String groupName) {
        this.groupName = groupName;
        return this;
    }

    public Integer getFurnaceFrontId() {
        return furnaceFrontId;
    }

    public CremationFurnaceGroupEntity setFurnaceFrontId(Integer furnaceFrontId) {
        this.furnaceFrontId = furnaceFrontId;
        return this;
    }

    public Integer getFurnaceBackId() {
        return furnaceBackId;
    }

    public CremationFurnaceGroupEntity setFurnaceBackId(Integer furnaceBackId) {
        this.furnaceBackId = furnaceBackId;
        return this;
    }

    public BigDecimal getTotalNumber() {
        return totalNumber;
    }

    public CremationFurnaceGroupEntity setTotalNumber(BigDecimal totalNumber) {
        this.totalNumber = totalNumber;
        return this;
    }

    public BigDecimal getLeftNumber() {
        return leftNumber;
    }

    public CremationFurnaceGroupEntity setLeftNumber(BigDecimal leftNumber) {
        this.leftNumber = leftNumber;
        return this;
    }
}